/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

/**
 *
 * @author Fam. Tapia
 */
public class StoreProductBean {
    private int productId;
    private int storeId;
    private int productInStock;
    private int maxProductInStock;
    private int minProductInStock;
    private int productPrice;
    private int productDiscount;
    private String productBarCode;

    public int getMaxProductInStock() {
        return maxProductInStock;
    }

    public void setMaxProductInStock(int maxProductInStock) {
        this.maxProductInStock = maxProductInStock;
    }

    public int getMinProductInStock() {
        return minProductInStock;
    }

    public void setMinProductInStock(int minProductInStock) {
        this.minProductInStock = minProductInStock;
    }

    public String getProductBarCode() {
        return productBarCode;
    }

    public void setProductBarCode(String productBarCode) {
        this.productBarCode = productBarCode;
    }

    public int getProductDiscount() {
        return productDiscount;
    }

    public void setProductDiscount(int productDiscount) {
        this.productDiscount = productDiscount;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getProductInStock() {
        return productInStock;
    }

    public void setProductInStock(int productInStock) {
        this.productInStock = productInStock;
    }

    public int getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(int productPrice) {
        this.productPrice = productPrice;
    }

    public int getStoreId() {
        return storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }
  
   @Override
  public String toString(){
        String space="  ";
        String product=this.getProductId()+space;
        String store= this.getStoreId()+space;
        String stock= this.getProductInStock()+space;
        String maxStock= this.getMaxProductInStock()+space;
        String minStock= this.getMinProductInStock()+space;
        String price= this.getProductPrice()+space;
        String discount= this.getProductDiscount()+space;
        String barCode = this.getProductBarCode();
        String storeProduct=product+store+stock+maxStock+minStock+price+discount+barCode;
        return storeProduct;
    }
    
}
